<layout name="layout" />

<div id='leftBox' class='col-xs-12 col-sm-5 col-md-5 col-lg-5'>
    <!--
        <h4>修改您需要修改的选项,点击修改即可</h4>
    
        <div class='form-group'>
            <label>昵称</label> 
            <input class='form-control' type='text' name='md_nickname' value='{$data.nickname}' />
        </div>
    
        <div class='form-group'>
            <label>绑定邮箱</label>
            <input class='form-control' type='text' name='md_e-mail' value='{$data.email}' />
        </div>
    -->
    <div class='form-group'>
        <label>旧密码</label>
        <input class='form-control' type='password' name='md_pwd' value='' />
    </div>
    
    <div class='form-group'>
        <label>新密码</label>
        <input class='form-control' type='password' name='md_newpwd' value='' />
    </div>

    <div class='form-group'>
        <label>确认新密码</label> 
        <input class='form-control' type='password' name='md_repwd' value='' />
    </div>
    <br/>
    <div>
        <input type='submit' class='btn btn-primary btn-block' name='md_submit' value='修改' />
    </div>
</div>

<div id='rightBox' class='col-xs-12 col-sm-6 col-md-6 col-lg-6 col-sm-offset-1 col-md-offset-1 col-lg-offset-1'>
    <include file="./app/public/view/default/public/AD.html" />
</div>

<script>
    $('[name=md_submit]').click(md_modify);
</script>